-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xSQLServerMaxDop: Added Cluster Aware code #901
xSQLServerMaxDop: Added Cluster Aware code #901
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #901 +/- ##
====================================
+ Coverage 96% 96% +<1%
====================================
Files 32 32
Lines 3508 3513 +5
====================================
+ Hits 3388 3393 +5
Misses 120 120 |
Thanks for sending this in! Great work on this one! 😄 Just minor review comments. Reviewed 6 of 6 files at r1. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 238 at r1 (raw file):
This resource has not yet been localized so we can't use this method (there are no localized string file). We have to hard code the string. Like here: Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 358 at r1 (raw file): This is used with Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 372 at r1 (raw file):
Same as previous comment. Comments from Reviewable |
Review status: 4 of 6 files reviewed at latest revision, 3 unresolved discussions. DSCResources/MSFT_xSQLServerMaxDop/MSFT_xSQLServerMaxDop.psm1, line 238 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
Done. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 358 at r1 (raw file): Previously, johlju (Johan Ljunggren) wrote…
I changed it so let me know if it is more what you were thinking. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 372 at r1 (raw file):
Comments from Reviewable |
Reviewed 2 of 2 files at r2. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 306 at r2 (raw file):
This test actually mimics the previous test, that it should actually fail (return Comments from Reviewable |
Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 306 at r2 (raw file): Previously, johlju (Johan Ljunggren) wrote…
I changed the description and the It-Block verbiage Comments from Reviewable |
Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion. Tests/Unit/MSFT_xSQLServerMaxDop.Tests.ps1, line 306 at r2 (raw file): Previously, PaulFeaser (Paul Feaser) wrote…
Done. Comments from Reviewable |
Tests looks good. Thanks! Awesome work! 😄 Reviewed 1 of 1 files at r3. Comments from Reviewable |
Pull Request (PR) description
Made the resource cluster aware. When ProcessOnlyOnActiveNode is specified, the resource will only determine if a change is needed if the target node is the active host of the SQL Server instance
This Pull Request (PR) fixes the following issues:
Fixes #882
Task List:
This change is